package lab04.test02;

public class ShuChushu implements Runnable{

    @Override
    public void run() {
        //每隔1秒向控制台输出“1234567890”

        while (true) {
            try {
                Thread.sleep(2000);

            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("1234567890");
        }

    }
}
